@@ -40,6 +40,8 @@ module Agents |
||
| 40 | 40 |
"description": { "path": "results.data[*].description" }
|
| 41 | 41 |
} |
| 42 | 42 |
|
| 43 |
+ If your JSON is compressed with `gzip`, set the `unzip` option to `true` to inflate it before extraction. |
|
| 44 |
+ |
|
| 43 | 45 |
When parsing text, each sub-hash should contain a `regexp` and `index`. Output text is matched against the regular expression repeatedly from the beginning through to the end, collecting a captured group specified by `index` in each match. Each index should be either an integer or a string name which corresponds to <code>(?<<em>name</em>>...)</code>. For example, to parse lines of <code><em>word</em>: <em>definition</em></code>, the following should work: |
| 44 | 46 |
|
| 45 | 47 |
"extract": {
|